%Image Processing Assignment - 1
%Name: - Kirtish Dhande
%Class: - B.E. - C
%Roll no: - 54
% This is the program to display square.
%Date of assignment - 12/01/2016

clc;
clear all;
close all;

%A will have a 512x512 array of zeroes.
A=zeros(512);

%Goes through nested for and fills the pixels with white color.
for i=200:350
    for j=200:350
        A(i,j)=1;
    end
end

%Displays the image in A.
imshow(A);
